import request from '@/utils/request'

export function login(user_account, user_pwd) {
  return request({
    url: '/user/login',
    method: 'post',
    data: {
      user_account,
      user_pwd
    }
  })
}

export function logout() {
  return request({
    url: '/user/logout',
    method: 'post'
  })
}
